package day05;

public class MultiTable {
    public static void main(String[] args) {
        for(int num = 1;num<=9;num++){
            for (int i = 1; i <= num; i++) {
                System.out.print(i + "*" + num + "=" + i * num + "\t");
            }
            System.out.println();
        }
        System.out.println("--------------");
        for(int a=1;a<=9;a++){
            for(int b=1;b<=a;b++){
                System.out.print(b + "*" + a+ "=" + a * b + "\t");
            }
            System.out.println();
        }
    }
}
